import http from '@/utils/request.js'
import API from '@/config/api.config'

// 用户服务接口
const storeService = {
  // 用户登录
  by_user_id: () => http.request({
    url:API.store.user_id,
    method: 'GET'
  }),

  by_id: (id) => http.request({
    url:API.store.id,
    method: 'GET',
    data: { id }
  })
};

export default storeService